// 切换手机号注册方式
$(".phone-register").click(() => {
  $(".email-register").attr({
    style: "background-color:white",
  });
  $(".phone-register").attr({
    style: "background-color:#ffda00",
  });
  $(".email-register-email").attr({
    style: "display: none",
  });
  $(".country-phone").attr({
    style: "display: block",
  });
});

// 切换Email注册方式
$(".email-register").click(() => {
  $(".phone-register").attr({
    style: "background-color:white",
  });
  $(".email-register").attr({
    style: "background-color:#ffda00",
  });
  $(".email-register-email").attr({
    style: "display: block",
  });
  $(".country-phone").attr({
    style: "display: none",
  });
});
